//如果用uni请求
// import http from '@/common/uni.interface.js'
//如果是用uview请求,就用下面这句
const http = uni.$u.http


//分页获取文章数据
export function getContentsPageDataApi(params){
	return http.post('/api/Contents/GetPageList',params)
}
//根据ID获取文章详细信息
export function getContentsDataByIdApi(params){
	return http.get('/api/Contents/GetCommonById?id='+params)
}